<form id="edit-form" class="form-horizontal" role="form" data-toggle="validator" method="POST" action="">

    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Name')}:</label>
        <div class="col-xs-12 col-sm-8">
            <div style="float: left; width: 50%; padding-right: 15px;">
                <input id="c-name" data-rule="required" class="form-control" name="row[name]" type="text" value="{$row.name|htmlentities}">
            </div>
            <div style="float: right; width: 50%; padding-left: 15px;">
                <span style="color:#ff0000; line-height:34px;">固定名称</span>
            </div>
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Package_material_id')}:</label>
        <div class="col-xs-12 col-sm-8">
            <div style="float: left; width: 50%; padding-right: 15px;">
                <input id="c-package_material_id" data-rule="required" data-source="package_material_require/index" class="form-control selectpage" name="row[package_material_id]" type="text" value="{$row.package_material_id|htmlentities}">
            </div>
            <div style="float: right; width: 50%; padding-left: 15px;">
                <span style="color:#ff0000; line-height:34px;">包材要求里面选择名称</span>
            </div>
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Number')}:</label>
        <div class="col-xs-12 col-sm-8">
            <div style="float: left; width: 50%; padding-right: 15px;">
                <input id="c-number" data-rule="required" class="form-control" name="row[number]" type="text" value="{$row.number|htmlentities}">
            </div>
            <div style="float: right; width: 50%; padding-left: 15px;">
                <span style="color:#ff0000; line-height:34px;">公司产品编号</span>
            </div>
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Alias')}:</label>
        <div class="col-xs-12 col-sm-8">
            <div style="float: left; width: 50%; padding-right: 15px;">
                <input id="c-alias" data-rule="required" class="form-control" name="row[alias]" type="text" value="{$row.alias|htmlentities}">
            </div>
            <div style="float: right; width: 50%; padding-left: 15px;">
                <span style="color:#ff0000; line-height:34px;">客户产品型号</span>
            </div>
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Specifications')}:</label>
        <div class="col-xs-12 col-sm-8">
            <div style="float: left; width: 50%; padding-right: 15px;">
                <input id="c-specifications" data-rule="required" class="form-control" name="row[specifications]" type="text" value="{$row.specifications|htmlentities}">
            </div>
            <div style="float: right; width: 50%; padding-left: 15px;">
                <span style="color:#ff0000; line-height:34px;">厚度x宽度x米数</span>
            </div>
        </div>
    </div>
        <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Thickness1')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-thickness1" data-rule="required" class="form-control" type="number" step="0.001" name="row[thickness1]" value="{$row.thickness1|htmlentities}" placeholder="厚度">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Thickness1_standard')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-thickness1_standard" data-rule="required" class="form-control" type="number" step="1" name="row[thickness1_standard]" value="{$row.thickness1_standard|htmlentities}" placeholder="厚度标准值">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">厚度标准值偏差范围:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-thickness1-deviation" class="form-control" type="text" readonly value="{$row.thickness1_deviation|default=''}" placeholder="自动计算">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Thickness2_theory')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-thickness2_theory" data-rule="required" class="form-control" type="number" step="1" name="row[thickness2_theory]" value="{$row.thickness2_theory|htmlentities}" placeholder="厚度理论值">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">厚度理论值偏差范围:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-thickness2-deviation" class="form-control" type="text" readonly value="{$row.thickness2_deviation|default=''}" placeholder="自动计算">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Density1')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-density1" data-rule="required" class="form-control" type="number" step="0.001" name="row[density1]" value="{$row.density1|htmlentities}" placeholder="密度">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Density1_standard')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-density1_standard" data-rule="required" class="form-control" type="number" step="1" name="row[density1_standard]" value="{$row.density1_standard|htmlentities}" placeholder="密度标准值">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">密度标准值偏差范围:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-density1-deviation" class="form-control" type="text" readonly value="{$row.density1_deviation|default=''}" placeholder="自动计算">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Density2_theory')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-density2_theory" data-rule="required" class="form-control" type="number" step="1" name="row[density2_theory]" value="{$row.density2_theory|htmlentities}" placeholder="密度理论值">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">密度理论值偏差范围:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-density2-deviation" class="form-control" type="text" readonly value="{$row.density2_deviation|default=''}" placeholder="自动计算">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Surface_treatment')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-surface_treatment" class="form-control" type="text" name="row[surface_treatment]" value="{$row.surface_treatment|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Spring_back')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-spring_back" class="form-control" type="text" name="row[spring_back]" value="{$row.spring_back|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Color')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-color" class="form-control" type="text" name="row[color]" value="{$row.color|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Ink_model')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-ink_model" class="form-control" type="text" name="row[ink_model]" value="{$row.ink_model|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Width')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-width" class="form-control" type="number" step="0.01" name="row[width]" value="{$row.width|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Length')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-length" class="form-control" type="number" step="0.01" name="row[length]" value="{$row.length|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Hardness')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-hardness" class="form-control" type="text" name="row[hardness]" value="{$row.hardness|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Stress_requirement')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-stress_requirement" class="form-control" type="text" name="row[stress_requirement]" value="{$row.stress_requirement|htmlentities}">
        </div>
    </div>
        <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Tear_strength')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-tear_strength" data-rule="required" class="form-control" type="number" step="0.01" name="row[tear_strength]" value="{$row.tear_strength|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Tensile_strength')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-tensile_strength" data-rule="required" class="form-control" type="number" step="0.01" name="row[tensile_strength]" value="{$row.tensile_strength|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Compression_ratio')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-compression_ratio" class="form-control" type="text" name="row[compression_ratio]" value="{$row.compression_ratio|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Membrane_type')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-membrane_type" class="form-control" type="text" name="row[membrane_type]" value="{$row.membrane_type|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Material_structure')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-material_structure" class="form-control" type="text" name="row[material_structure]" value="{$row.material_structure|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Remark')}:</label>
        <div class="col-xs-12 col-sm-8">
            <textarea id="c-remark" class="form-control" rows="3" name="row[remark]" placeholder="请输入备注信息">{$row.remark|htmlentities}</textarea>
        </div>
    </div>
    <div class="form-group layer-footer">
        <label class="control-label col-xs-12 col-sm-2"></label>
        <div class="col-xs-12 col-sm-8">
            <button type="submit" class="btn btn-primary btn-embossed disabled">{:__('OK')}</button>
            <button type="reset" class="btn btn-default btn-embossed">{:__('Reset')}</button>
        </div>
    </div>
</form>